<script setup>
import {useRoute} from "vue-router";
const route = useRoute();
</script>

<template>
  <div>
    <h1>视频列表，获取参数：{{ route.query.id }}--{{ route.query.age }}</h1>
  </div>
</template>

<style scoped>
h1 {
  color: blue;
  text-align: left;
}
</style>